﻿
@{
    ViewBag.Title = "ForensicExaminationRecordDataView";
}

<style type="text/css">
    .return{
        width:80px;
        position:fixed;
        right:100px;
        top:400px;
        z-index:100;
    }
    #ForensicExaminationRecordForm {
        background: white;
        padding-left: 7%;
        padding-right: 7%;
        padding-bottom: 2%;
        padding-top: 2%;
    }

    .table, .table > tbody > tr > td {
        border: 1px solid;
        font-size: 15px;
        vertical-align: middle;
    }

    textarea {
        resize: none;
    }

    .page_title {
        width: 100%;
        height: 55px;
        color: #000;
        font-size: 25px;
        line-height: 55px;
        text-align: center;
        font-weight: 700;
    }

    .table_number {
        color: #000;
        font-size:18px;
    }

    .beijdz {
        width: 20px;
    }

    .jianchaqingkuang, .beizhu {
        height: 150px;
        overflow: auto;
    }

    .xia_none {
        width: 150px;
        border: none;
        border-bottom: 1px solid;
        outline: none;
    }

    .border_none {
        border: none;
        outline: none;
    }

    .CheckTheSituation, .Remarks {
        width: 100%;
        height: 150px;
        overflow: auto;
    }
</style>

<a class="btn btn-default return" href="javascript: history.go(-1);">返&nbsp;&nbsp;回</a>
<form action="/As/SubmitForensicExaminationRecord" method="post" id="ForensicExaminationRecordForm">
    <div class="page_title">法医临床学检查笔录</div>
    <div class="table_number">
        表格编号：@ViewBag.TableNumber
    </div>
    <table class="forensicExaminationRecord_table table">
        <tr>
            <td colspan="2" style="width:50px;">委托人/委托单位</td>
            <td colspan="4">
                @ViewBag.Client
            </td>
            <td style="width:120px;">检查时间</td>
            <td colspan="2">
                @ViewBag.Foren.Time
            </td>
        </tr>
        <tr>
            <td rowspan="2">
                <div class="beijdz" style="margin:auto;">被鉴定者</div>
            </td>
            <td style="width:100px;">姓名</td>
            <td style="width:140px;">@ViewBag.be_appraiser.username</td>
            <td>性别</td>
            <td style="width:70px;">@ViewBag.be_appraiser.sex</td>
            <td style="width:100px;">年龄</td>
            <td>@ViewBag.be_appraiser_age</td>
            <td style="width:100px;">籍贯</td>
            <td>@ViewBag.be_appraiser_nationality</td>
        </tr>
        <tr>
            <td>住址</td>
            <td colspan="3">@ViewBag.be_appraiser.present_readdress</td>
            <td>受伤史陈诉人</td>
            <td>
                @ViewBag.Foren.InjuryHistoryUser
            </td>
            <td>可靠程度</td>
            <td>
                @ViewBag.Foren.Reliability
            </td>
        </tr>
        <tr>
            <td colspan="9">
                使用方法：@ViewBag.Foren.MethodOfUse
            </td>
        </tr>
        <tr>
            <td colspan="9">
                使用仪器：
                @{
                    for (int i = 0; i < ViewBag.UseTheInstrument.Count; i++)
                    {
                        if (ViewBag.UseTheInstrument[i] == "其他")
                        {
                            continue;
                        }
                        <span>@ViewBag.UseTheInstrument[i]</span>
                        <span>&nbsp;</span>
                    }
                }
                @*@{
                    string[] str = new string[] { "叩诊锤", "量角尺", "直尺", "皮尺", "照相机", "关片灯", "检查床", "其他" };
                    for (int i = 0; i < str.Length; i++)
                    {
                        bool b = false;
                        for (int j = 0; j < ViewBag.UseTheInstrument.Count; j++)
                        {
                            if (str[i] == ViewBag.UseTheInstrument[j])
                            {
                                b = true;
                                break;
                            }
                            else
                            {
                                b = false;
                            }
                        }
                        <label>
                            <input type="checkbox" name="UseTheInstrument" @(b?"checked":"") />@str[i]
                        </label>
                        <span>&nbsp;</span>
                    }
                    if ((ViewBag.UseTheInstrument as List<string>).Contains("其他"))
                    {
                        <span>@ViewBag.UseTheInstrument[ViewBag.UseTheInstrument.Count - 1]</span>
                    }
                }*@
            </td>
        </tr>
        <tr>
            <td colspan="9">
                <div>检查情况：</div>
                @ViewBag.Foren.CheckTheSituation
            </td>
        </tr>
        <tr>
            <td colspan="9">
                既往病、伤史:@ViewBag.Foren.InjuryHistory
            </td>
        </tr>
        <tr>
            <td colspan="9">
                检查人：@ViewBag.Foren.CheckUser&nbsp;&nbsp;&nbsp;
                摄影人：@ViewBag.Foren.Photographer&nbsp;&nbsp;&nbsp;
                被检人或在场人：@ViewBag.Foren.InspectedOrAttendees
            </td>
        </tr>
        <tr>
            <td colspan="9">
                <div>要求说明:</div>
                <div>1、本表应由法医师填写，检查人、摄影人、被检人或在场人均应在表格中签字。</div>
                <div>2、表中所列各项，应认真填写，同事附照片及单项检查报告单。</div>
            </td>
        </tr>
        <tr>
            <td colspan="9">
                <div>备注：</div>
                @ViewBag.Foren.remarks
            </td>
        </tr>
    </table>
</form>

